package com.mi.entity;

import java.io.Serializable;

//新闻
public class NewsEntity implements Serializable {

    private int n_id;
    private int n_category;//新闻类别
    private String n_name;
    private String n_company;//公司名
    private String n_desc;
    private String n_issuer;//作者
    private String n_createTime;
    private String n_image;
    private String n_kindName;
    private String n_newp;
    private int pageNum = 1;
    private int pageSize = 3;
    private int n_status;

    public int getN_status() {
        return n_status;
    }

    public void setN_status(int n_status) {
        this.n_status = n_status;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getN_newp() {
        return n_newp;
    }

    public void setN_newp(String n_newp) {
        this.n_newp = n_newp;
    }

    public NewsEntity() {
    }

    public NewsEntity(int n_id, int n_category, String n_name, String n_company, String n_desc, String n_issuer, String n_createTime, String n_image, String n_kindName, String n_newp) {
        this.n_id = n_id;
        this.n_category = n_category;
        this.n_name = n_name;
        this.n_company = n_company;
        this.n_desc = n_desc;
        this.n_issuer = n_issuer;
        this.n_createTime = n_createTime;
        this.n_image = n_image;
        this.n_kindName = n_kindName;
        this.n_newp = n_newp;
    }

    public String getN_kindName() {
        return n_kindName;
    }

    public void setN_kindName(String n_kindName) {
        this.n_kindName = n_kindName;
    }

    public int getN_id() {
        return n_id;
    }

    public void setN_id(int n_id) {
        this.n_id = n_id;
    }

    public int getN_category() {
        return n_category;
    }

    public void setN_category(int n_category) {
        this.n_category = n_category;
    }

    public String getN_name() {
        return n_name;
    }

    public void setN_name(String n_name) {
        this.n_name = n_name;
    }

    public String getN_company() {
        return n_company;
    }

    public void setN_company(String n_company) {
        this.n_company = n_company;
    }

    public String getN_desc() {
        return n_desc;
    }

    public void setN_desc(String n_desc) {
        this.n_desc = n_desc;
    }

    public String getN_issuer() {
        return n_issuer;
    }

    public void setN_issuer(String n_issuer) {
        this.n_issuer = n_issuer;
    }

    public String getN_createTime() {
        return n_createTime;
    }

    public void setN_createTime(String n_createTime) {
        this.n_createTime = n_createTime;
    }

    public String getN_image() {
        return n_image;
    }

    public void setN_image(String n_image) {
        this.n_image = n_image;
    }

    @Override
    public String toString() {
        return "NewsEntity{" +
                "n_id=" + n_id +
                ", n_category=" + n_category +
                ", n_name='" + n_name + '\'' +
                ", n_company='" + n_company + '\'' +
                ", n_desc='" + n_desc + '\'' +
                ", n_issuer='" + n_issuer + '\'' +
                ", n_createTime='" + n_createTime + '\'' +
                ", n_image='" + n_image + '\'' +
                ", n_kindName='" + n_kindName + '\'' +
                ", n_newp='" + n_newp + '\'' +
                '}';
    }
}
